package com.wxapp.admin.service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wxapp.admin.api.pojo.entity.RoleDO;
import com.wxapp.admin.api.pojo.vm.role.PRoleDetailVm;
import com.wxapp.common.constant.pojo.vo.UserVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: lgl
 * @Description 角色信息表管理
 * @Datetime 2022-01-20 16:17:52
 * @Modified By
 */
@Mapper
public interface RoleMapper extends BaseMapper<RoleDO> {
    List<String> getRoles(@Param("id") String id);

    List<PRoleDetailVm> detailByUser(UserVo userVo, String userId);
}

